import CrudService from '../global/CrudService'

let instance = null

// 后端路径
const prefix = '/rptManTip'

class Service extends CrudService {
	constructor() {
		super(prefix)
		this.getListPath = `${prefix}/queryDbList`
		// this.addPath     = `${prefix}/doTemplateInsert`
		// this.deletePath  = `${prefix}/doTemplateDelete`
		// this.updatePath  = `${prefix}/doTemplateUpdate`
		return instance || this
	}
	
	static getInstance() {
		if (!instance) {
			instance = new Service()
		}
		return instance
	}
	
}

export default Service.getInstance()
